<h1><?php echo $title;?></h1>

		<?php if (isset($error)) :?>
		<p class="error">
		<?php foreach ($error as $key => $val) : ?>
		<?php echo $val ?> <br />
		<?php endforeach; ?>
		</p>
		<?php endif; ?>

		<p><?php echo __("You are to import photos from flickr into this album. Please fill the form below.", "album") ?></p>
		
		<p><b><?php echo __("Album title:", "album") ?></b> <?php echo $album['title'] ?></p><br />
<form  enctype="multipart/form-data" class="edit" action="<?php echo site_url('album/import_flickr/import/' . $album['aid'])?>" method="post" accept-charset="utf-8">
		<input type="hidden" name="aid" value="<?php echo $album['aid'] ?>" />
	
		
		<?php if ($notice = $this->session->flashdata('notification')):?>
		<p class="notice"><?php echo $notice;?></p>
		<?php endif;?>
		
		<label for="username"><?php echo __("Flickr username:", $this->template['module'])?> </label>
		<?php echo anchor("http://www.flickr.com/account/prefs/screenname/", __("Get it here", "flickr"), array('target' => '_blank')) ?><br />
		<input type="text" name="username" value="" id="username" class="input-text" /><br />

		<label for="tag"><?php echo __("Tags", $this->template['module'])?>:</label>
		<i><?php echo __("Separate tags with comma if many", $this->template['module']) ?></i><br />
		<input type="text" name="tag" value="" id="tag" class="input-text" /><br />
		
		<label for="num"><?php echo __("Photos to import", $this->template['module'])?>:</label>
		<i><?php echo __("How many photos to import?", $this->template['module']) ?></i><br />
		<input type="text" name="num" value="" id="num" class="input-text" /><br />
		
		
		<input type="submit" name="submit" value="<?php echo __("Import", $this->template['module'])?>" class="input-submit" />
		<a href="<?php echo site_url( $this->session->userdata("last_uri") )?>" class="input-submit"><?php echo __("Cancel", $this->template['module'])?></a>

		</form>
